package uit.uthuoc.activity;

import uit.uthuoc.fragment.DrugDetailsFragment;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;

public class DrugDetailsActivity extends SingleFragmentActivity {

	public static final String EXTRA_INTENT_INT_ID = "uit.uthuoc.activity.DrugDetailsActivity.intent_int";
	
	
	@Override
	protected Fragment createFragment() {
		int index = getIntent().getIntExtra(EXTRA_INTENT_INT_ID, 0);
		return DrugDetailsFragment.newInstance(index);
	}

	@Override
	protected boolean isUpButtonEnable() {
		// TODO Auto-generated method stub
		return true;
	}

}
